const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      'api': {
        target: 'http://waimai.yantianfeng.com',//服务器网址
        changeOrigin: true,//开启跨域
        pathRewrite: {},//请求地址重写
      }
    }
  }

})
